Initialize ESPProvisioningProvider with the proper realm (from URL or…#56
Conversation
There was a problem hiding this comment.
@ebariaux Me and @dominiquekleeven discussed on this "constants" approach, but agreed to not to go for this. 😅
My opinion was that the ESPProvisionProvider itself shouldn't be "aware that realms exist".
Instead, by including the realm in the provisionDevice payload itself, similar to the accessToken,
we only make the provider "realm aware" for this single API request the provider makes.
Alongside that, I think it'd be important for apps to work in multiple realms.
Because now it is locked into a single realm per app.
I'm happy to call if you'd like to discuss.
….com/openremote/console-android into fix/provision-provider-realm-api-url
|
@MartinaeyNL I covered this change in #58 and made this PR on top of that branch. |
… preferences)